package io.linfeng.service.im.server;

import com.baomidou.mybatisplus.extension.service.IService;
import io.linfeng.api.app.guest.response.GuestResponse;
import io.linfeng.api.app.im.reponse.MessageRecordResponse;
import io.linfeng.api.app.im.request.MessageRecordRequest;
import io.linfeng.common.utils.RedisUtil;
import io.linfeng.service.im.entity.MessageRecordEntity;
import io.linfeng.service.im.entity.SocketMsg;
import io.linfeng.service.user.entity.UserEntity;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author RJF
 * @since 2024-05-11
 */
public interface MessageRecordService extends IService<MessageRecordEntity>{

    void save(UserEntity user, SocketMsg socketMsg);

    List<MessageRecordResponse> getMessage(MessageRecordRequest request);
}
